package cn.kgc.yigou.service;

import cn.kgc.yigou.pojo.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserService {
    User login(User user);

    int save(User user);

    PageInfo<User> queryForKeywordWithPage(Integer pageNum, Integer pageSize, String keyword);

    //根据id查询
    public List<User> getUserListByIdList(List<Integer> userIdList);

    User selectAllById(int id);

    //删除
    public void batchRemove(List<Integer> userIdList);

    //修改
    public void updateUser(User user);



}
